const arr = [18, 'you', 777, 'breaking', 99, 'full'];

// console.log(Math.floor(Math.random() * arr.length));
const random = (arr) => {
    arr[Math.floor(Math.random() * arr.length)];

}
const r = random(arr);
console.log(r);